package com.wbs.business.logic.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wbs.business.logic.ITipoIncidenciaLogic;
import com.wbs.domain.TipoIncidencia;
import com.wbs.domain.repository.TipoIncidenciaRepository;

@Service
public class TipoIncidenciaLogicImpl implements ITipoIncidenciaLogic {
  
    @Autowired
    TipoIncidenciaRepository TipoIncidenciaRepository;

    @Override
    public List<TipoIncidencia> obtenerTiposIncidencia() {
        return TipoIncidenciaRepository.findAll();
    }
}